package cn.wen.yinxiu.gateway;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;import org.springframework.cloud.client.discovery.EnableDiscoveryClient;import org.springframework.cloud.openfeign.EnableFeignClients;import org.springframework.context.annotation.ComponentScan;/** * @ClassName: YinXiuGatewayApplication * @Author: 小飞 * @Date: 2023/6/18 13:44 * @Description:  作为网关和权限校验位置 */@EnableFeignClients(basePackages = "cn.wen.yinxiu.gateway.feign")@EnableDiscoveryClient@ComponentScan(basePackages = {"cn.wen.yinxiu.gateway", "cn.wen.yinxiu.common"})@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})public class YinXiuGatewayApplication {    public static void main(String[] args) {        SpringApplication.run(YinXiuGatewayApplication.class, args);    }}